<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>插入数据</title>
    <link rel="stylesheet" href="./css/bootstrap.css">
</head>
<body>
    <div class="container mt-4">
        <div class="row justify-content-center">
            <div class="col-sm-8">
                <h2>插入一条记录</h2>
                <form action="insert.php" method="post">
                    <div class="form-group">
                        <label for="username">姓名</label>
                        <input type="text" class="form-control" id="username" name="username">
                    </div>
                    <div class="form-group">
                        <label for="email">邮箱</label>
                        <input type="text" class="form-control" id="email" name="email">
                    </div>
                    <div class="form-group">
                        <label for="mobile">电话号码</label>
                        <input type="text" class="form-control" id="mobile" name="mobile">
                    </div>
                    
                    <button type="submit" class="btn btn-primary" name="save">提交</button>
                    <a class="btn btn-success" href="index.php">返回首页</a>
                  </form>

            </div>
        </div>
    </div>
</body>
</html>